home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / gui / mui / mui14-dv.lha / MUI / Developer / Oberon / mui.mod < prev    next >
Encoding:
Text File  |  1993-10-28  |  43.6 KB  |  1,024 lines

  1. MODULE Mui;
  2.  
  3. IMPORT Exec, Utility, Intuition, SYSTEM, ASL;
  4.  
  5. CONST
  6.   LibName* = "muimaster.library";
  7.   Version* = 4;
  8.  
  9.  
  10. TYPE
  11.   Object * = Intuition.ObjectPtr;
  12.  
  13.  
  14. (***************************************************************************
  15. **
  16. ** For Boopsi Image Implementors Only:
  17. **
  18. ** If MUI is using a boopsi image object, it will send a special method
  19. ** immediately after object creation. This method has a parameter structure
  20. ** where the boopsi can fill in its minimum and maximum size and learn if
  21. ** its used in a horizontal or vertical context.
  22. **
  23. ** The boopsi image must use the method id (MUIM_BoopsiQuery) as return
  24. ** value. That's how MUI sees that the method is implemented.
  25. **
  26. ** Note: MUI does not depend on this method. If the boopsi image doesn't
  27. **       implement it, minimum size will be 0 and maximum size unlimited.
  28. **
  29. ***************************************************************************)
  30.  
  31. CONST mBoopsiQuery *= 80427157H;    (* this is send to the boopsi and *)
  32.                                     (* must be used as return value   *)
  33.  
  34. TYPE pBoopsiQuery  *= STRUCT( msg* : Intuition.Msg ); (* parameter structure *)
  35.  
  36.                   screen    * : Intuition.ScreenPtr;  (* read only, display context *)
  37.                   flags     * : LONGSET;              (* read only, see below *)
  38.  
  39.                   minWidth  * : LONGINT;              (* write only, fill in min width  *)
  40.                   minHeight * : LONGINT;              (* write only, fill in min height *)
  41.                   maxWidth  * : LONGINT;              (* write only, fill in max width  *)
  42.                   maxHeight * : LONGINT;              (* write only, fill in max height *)
  43.  
  44.                   (* may grow in future ... *)
  45.                   END;
  46.  
  47. CONST bqfHoriz *= 0;             (* object used in a horizontal *)
  48.                                  (* context (else vertical)     *)
  49.  
  50. CONST bqMaxMax *= 10000;         (* use this for unlimited MaxWidth/Height *)
  51.  
  52.  
  53. (***************************************************************************
  54. ** ARexx Interface
  55. ***************************************************************************)
  56.  
  57. TYPE
  58.   Command * = STRUCT
  59.     name            * : Exec.STRPTR;
  60.     template        * : Exec.STRPTR;
  61.     parameters      * : LONGINT;
  62.     hook            * : Utility.HookPtr;
  63.     reserved        * : ARRAY 5 OF LONGINT;
  64.   END;
  65.  
  66.  
  67. (***************************************************************************
  68. ** Return values for MUI_Error()
  69. ***************************************************************************)
  70.  
  71. CONST
  72.  
  73.         eOK                  * = 0;
  74.         eOutOfMemory         * = 1;
  75.         eOutOfGfxMemory      * = 2;
  76.         eInvalidWindowObject * = 3;
  77.         eMissingLibrary      * = 4;
  78.         eNoARexx             * = 5;
  79.         eSingleTask          * = 6;
  80.  
  81.  
  82. (***************************************************************************
  83. ** Standard MUI Images
  84. ***************************************************************************)
  85.  
  86. CONST
  87.         iWindowBack    * =  0;
  88.         iRequesterBack * =  1;
  89.         iButtonBack    * =  2;
  90.         iListBack      * =  3;
  91.         iTextBack      * =  4;
  92.         iPropBack      * =  5;
  93.         iActiveBack    * =  6;
  94.         iSelectedBack  * =  7;
  95.         iListCursor    * =  8;
  96.         iListSelect    * =  9;
  97.         iListSelCur    * = 10;
  98.         iArrowUp       * = 11;
  99.         iArrowDown     * = 12;
  100.         iArrowLeft     * = 13;
  101.         iArrowRight    * = 14;
  102.         iCheckMark     * = 15;
  103.         iRadioButton   * = 16;
  104.         iCycle         * = 17;
  105.         iPopUp         * = 18;
  106.         iPopFile       * = 19;
  107.         iPopDrawer     * = 20;
  108.         iPropKnob      * = 21;
  109.         iDrawer        * = 22;
  110.         iHardDisk      * = 23;
  111.         iDisk          * = 24;
  112.         iChip          * = 25;
  113.         iVolume        * = 26;
  114.         iCount         * = 27;
  115.  
  116.         iBACKGROUND  * = (128+ 0);
  117.         iSHADOW      * = (128+ 1);
  118.         iSHINE       * = (128+ 2);
  119.         iFILL        * = (128+ 3);
  120.         iSHADOWBACK  * = (128+ 4);
  121.         iSHADOWFILL  * = (128+ 5);
  122.         iSHADOWSHINE * = (128+ 6);
  123.         iFILLBACK    * = (128+ 7);
  124.         iFILLSHINE   * = (128+ 8);
  125.         iSHINEBACK   * = (128+ 9);
  126.         iFILLBACK2   * = (128+10);
  127.  
  128.  
  129. (***************************************************************************
  130. ** Special values for some methods
  131. ***************************************************************************)
  132.  
  133. CONST
  134.  
  135.         vTriggerValue *= 49893131H;
  136.         vEveryTime    *= 49893131H;
  137.  
  138.         vApplicationSaveENV     * =  0;
  139.         vApplicationSaveENVARC  * = -1;
  140.         vApplicationLoadENV     * =  0;
  141.         vApplicationLoadENVARC  * = -1;
  142.  
  143.         vApplicationReturnIDQuit * = -1;
  144.  
  145.         vListInsertTop       * =  0;
  146.         vListInsertActive    * = -1;
  147.         vListInsertSorted    * = -2;
  148.         vListInsertBottom    * = -3;
  149.  
  150.         vListRemoveFirst     * =  0;
  151.         vListRemoveActive    * = -1;
  152.         vListRemoveLast      * = -2;
  153.  
  154.         vListSelectOff       * =  0;
  155.         vListSelectOn        * =  1;
  156.         vListSelectToggle    * =  2;
  157.         vListSelectAsk       * =  3;
  158.  
  159.         vListJumpActive      * = -1;
  160.         vListGetEntryActive  * = -1;
  161.         vListSelectActive    * = -1;
  162.  
  163.         vListRedrawActive    * = -1;
  164.         vListRedrawAll       * = -2;
  165.  
  166.         vListExchangeActive  * = -1;
  167.  
  168.  
  169. (****************************************************************************)
  170. (** Notify.mui 6.65 (26.10.93)                                             **)
  171. (****************************************************************************)
  172.  
  173.   cNotify * = "Notify.mui";
  174.  
  175. (* Methods *)
  176.  
  177.   CONST mCallHook                  * = 8042B96BH;
  178.   CONST mNotify                    * = 8042C9CBH;
  179.   CONST mSet                       * = 8042549AH;
  180.   CONST mSetAsString               * = 80422590H;
  181.   CONST mWriteLong                 * = 80428D86H;
  182.   CONST mWriteString               * = 80424BF4H;
  183.  
  184. (* Attributes *)
  185.  
  186.   CONST aAppMessage                 * = 80421955H; (* ..g struct AppMessage * *)
  187.   CONST aHelpFile                   * = 80423A6EH; (* isg STRPTR            *)
  188.   CONST aHelpLine                   * = 8042A825H; (* isg LONG              *)
  189.   CONST aHelpNode                   * = 80420B85H; (* isg STRPTR            *)
  190.   CONST aRevision                   * = 80427EAAH; (* ..g LONG              *)
  191.   CONST aUserData                   * = 80420313H; (* isg ULONG             *)
  192.   CONST aVersion                    * = 80422301H; (* ..g LONG              *)
  193.  
  194.  
  195.  
  196. (****************************************************************************)
  197. (** Application.mui 6.57 (26.10.93)                                        **)
  198. (****************************************************************************)
  199.  
  200.   cApplication * = "Application.mui";
  201.  
  202. (* Methods *)
  203.  
  204.   CONST mApplicationGetMenuCheck   * = 8042C0A7H;
  205.   CONST mApplicationGetMenuState   * = 8042A58FH;
  206.   CONST mApplicationInput          * = 8042D0F5H;
  207.   CONST mApplicationInputBuffered  * = 80427E59H;
  208.   CONST mApplicationLoad           * = 8042F90DH;
  209.   CONST mApplicationPushMethod     * = 80429EF8H;
  210.   CONST mApplicationReturnID       * = 804276EFH;
  211.   CONST mApplicationSave           * = 804227EFH;
  212.   CONST mApplicationSetMenuCheck   * = 8042A707H;
  213.   CONST mApplicationSetMenuState   * = 80428BEFH;
  214.   CONST mApplicationShowHelp       * = 80426479H;
  215.  
  216. (* Attributes *)
  217.  
  218.   CONST aApplicationActive          * = 804260ABH; (* isg BOOL              *)
  219.   CONST aApplicationAuthor          * = 80424842H; (* i.g STRPTR            *)
  220.   CONST aApplicationBase            * = 8042E07AH; (* i.g STRPTR            *)
  221.   CONST aApplicationBroker          * = 8042DBCEH; (* ..g Broker *          *)
  222.   CONST aApplicationBrokerHook      * = 80428F4BH; (* isg struct Hook *     *)
  223.   CONST aApplicationBrokerPort      * = 8042E0ADH; (* ..g struct MsgPort *  *)
  224.   CONST aApplicationBrokerPri       * = 8042C8D0H; (* i.g LONG              *)
  225.   CONST aApplicationCommands        * = 80428648H; (* isg struct MUI_Command * *)
  226.   CONST aApplicationCopyright       * = 8042EF4DH; (* i.g STRPTR            *)
  227.   CONST aApplicationDescription     * = 80421FC6H; (* i.g STRPTR            *)
  228.   CONST aApplicationDiskObject      * = 804235CBH; (* isg struct DiskObject * *)
  229.   CONST aApplicationDoubleStart     * = 80423BC6H; (* ..g BOOL              *)
  230.   CONST aApplicationDropObject      * = 80421266H; (* is. Object *          *)
  231.   CONST aApplicationIconified       * = 8042A07FH; (* .sg BOOL              *)
  232.   CONST aApplicationMenu            * = 80420E1FH; (* i.g struct NewMenu *  *)
  233.   CONST aApplicationMenuAction      * = 80428961H; (* ..g ULONG             *)
  234.   CONST aApplicationMenuHelp        * = 8042540BH; (* ..g ULONG             *)
  235.   CONST aApplicationRexxMsg         * = 8042FD88H; (* ..g struct RxMsg *    *)
  236.   CONST aApplicationRexxString      * = 8042D711H; (* .s. STRPTR            *)
  237.   CONST aApplicationSingleTask      * = 8042A2C8H; (* i.. BOOL              *)
  238.   CONST aApplicationSleep           * = 80425711H; (* .s. BOOL              *)
  239.   CONST aApplicationTitle           * = 804281B8H; (* i.g STRPTR            *)
  240.   CONST aApplicationVersion         * = 8042B33FH; (* i.g STRPTR            *)
  241.   CONST aApplicationWindow          * = 8042BFE0H; (* i.. Object *          *)
  242.  
  243.  
  244.  
  245. (****************************************************************************)
  246. (** Window.mui 6.117 (26.10.93)                                            **)
  247. (****************************************************************************)
  248.  
  249.   cWindow * = "Window.mui";
  250.  
  251. (* Methods *)
  252.  
  253.   CONST mWindowGetMenuCheck        * = 80420414H;
  254.   CONST mWindowGetMenuState        * = 80420D2FH;
  255.   CONST mWindowScreenToBack        * = 8042913DH;
  256.   CONST mWindowScreenToFront       * = 804227A4H;
  257.   CONST mWindowSetCycleChain       * = 80426510H;
  258.   CONST mWindowSetMenuCheck        * = 80422243H;
  259.   CONST mWindowSetMenuState        * = 80422B5EH;
  260.   CONST mWindowToBack              * = 8042152EH;
  261.   CONST mWindowToFront             * = 8042554FH;
  262.  
  263. (* Attributes *)
  264.  
  265.   CONST aWindowActivate             * = 80428D2FH; (* isg BOOL              *)
  266.   CONST aWindowActiveObject         * = 80427925H; (* .sg Object *          *)
  267.   CONST aWindowAltHeight            * = 8042CCE3H; (* i.g LONG              *)
  268.   CONST aWindowAltLeftEdge          * = 80422D65H; (* i.g LONG              *)
  269.   CONST aWindowAltTopEdge           * = 8042E99BH; (* i.g LONG              *)
  270.   CONST aWindowAltWidth             * = 804260F4H; (* i.g LONG              *)
  271.   CONST aWindowAppWindow            * = 804280CFH; (* i.. BOOL              *)
  272.   CONST aWindowBackdrop             * = 8042C0BBH; (* i.. BOOL              *)
  273.   CONST aWindowBorderless           * = 80429B79H; (* i.. BOOL              *)
  274.   CONST aWindowCloseGadget          * = 8042A110H; (* i.. BOOL              *)
  275.   CONST aWindowCloseRequest         * = 8042E86EH; (* ..g BOOL              *)
  276.   CONST aWindowDefaultObject        * = 804294D7H; (* isg Object *          *)
  277.   CONST aWindowDepthGadget          * = 80421923H; (* i.. BOOL              *)
  278.   CONST aWindowDragBar              * = 8042045DH; (* i.. BOOL              *)
  279.   CONST aWindowHeight               * = 80425846H; (* i.g LONG              *)
  280.   CONST aWindowID                   * = 804201BDH; (* isg ULONG             *)
  281.   CONST aWindowInputEvent           * = 804247D8H; (* ..g struct InputEvent * *)
  282.   CONST aWindowLeftEdge             * = 80426C65H; (* i.g LONG              *)
  283.   CONST aWindowMenu                 * = 8042DB94H; (* i.. struct NewMenu *  *)
  284.   CONST aWindowNoMenus              * = 80429DF5H; (* .s. BOOL              *)
  285.   CONST aWindowOpen                 * = 80428AA0H; (* .sg BOOL              *)
  286.   CONST aWindowPublicScreen         * = 804278E4H; (* isg STRPTR            *)
  287.   CONST aWindowRefWindow            * = 804201F4H; (* is. Object *          *)
  288.   CONST aWindowRootObject           * = 8042CBA5H; (* i.. Object *          *)
  289.   CONST aWindowScreen               * = 8042DF4FH; (* isg struct Screen *   *)
  290.   CONST aWindowScreenTitle          * = 804234B0H; (* isg STRPTR            *)
  291.   CONST aWindowSizeGadget           * = 8042E33DH; (* i.. BOOL              *)
  292.   CONST aWindowSizeRight            * = 80424780H; (* i.. BOOL              *)
  293.   CONST aWindowSleep                * = 8042E7DBH; (* .sg BOOL              *)
  294.   CONST aWindowTitle                * = 8042AD3DH; (* isg STRPTR            *)
  295.   CONST aWindowTopEdge              * = 80427C66H; (* i.g LONG              *)
  296.   CONST aWindowWidth                * = 8042DCAEH; (* i.g LONG              *)
  297.   CONST aWindowWindow               * = 80426A42H; (* ..g struct Window *   *)
  298.  
  299.   CONST vWindowActiveObjectNone     * = 0;
  300.   CONST vWindowActiveObjectNext     * = -1;
  301.   CONST vWindowActiveObjectPrev     * = -2;
  302.   PROCEDURE vWindowAltHeightMinMax      * (p:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowAltHeightMinMax;
  303.   PROCEDURE vWindowAltHeightVisible     * (p:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowAltHeightVisible;
  304.   PROCEDURE vWindowAltHeightScreen      * (p:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowAltHeightScreen;
  305.   CONST vWindowAltHeightScaled      * = -1000;
  306.   CONST vWindowAltLeftEdgeCentered  * = -1;
  307.   CONST vWindowAltLeftEdgeMoused    * = -2;
  308.   CONST vWindowAltLeftEdgeNoChange  * = -1000;
  309.   CONST vWindowAltTopEdgeCentered   * = -1;
  310.   CONST vWindowAltTopEdgeMoused     * = -2;
  311.   PROCEDURE vWindowAltTopEdgeDelta      * (p:LONGINT): LONGINT; BEGIN RETURN (-3-(p)) END vWindowAltTopEdgeDelta;
  312.   CONST vWindowAltTopEdgeNoChange   * = -1000;
  313.   PROCEDURE vWindowAltWidthMinMax       * (p:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowAltWidthMinMax;
  314.   PROCEDURE vWindowAltWidthVisible      * (p:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowAltWidthVisible;
  315.   PROCEDURE vWindowAltWidthScreen       * (p:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowAltWidthScreen;
  316.   CONST vWindowAltWidthScaled       * = -1000;
  317.   PROCEDURE vWindowHeightMinMax         * (p:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowHeightMinMax;
  318.   PROCEDURE vWindowHeightVisible        * (p:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowHeightVisible;
  319.   PROCEDURE vWindowHeightScreen         * (p:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowHeightScreen;
  320.   CONST vWindowHeightScaled         * = -1000;
  321.   CONST vWindowHeightDefault        * = -1001;
  322.   CONST vWindowLeftEdgeCentered     * = -1;
  323.   CONST vWindowLeftEdgeMoused       * = -2;
  324.   CONST vWindowMenuNoMenu           * = -1;
  325.   CONST vWindowTopEdgeCentered      * = -1;
  326.   CONST vWindowTopEdgeMoused        * = -2;
  327.   PROCEDURE vWindowTopEdgeDelta         * (p:LONGINT): LONGINT; BEGIN RETURN (-3-(p)) END vWindowTopEdgeDelta;
  328.   PROCEDURE vWindowWidthMinMax          * (p:LONGINT): LONGINT; BEGIN RETURN (0-(p)) END vWindowWidthMinMax;
  329.   PROCEDURE vWindowWidthVisible         * (p:LONGINT): LONGINT; BEGIN RETURN (-100-(p)) END vWindowWidthVisible;
  330.   PROCEDURE vWindowWidthScreen          * (p:LONGINT): LONGINT; BEGIN RETURN (-200-(p)) END vWindowWidthScreen;
  331.   CONST vWindowWidthScaled          * = -1000;
  332.   CONST vWindowWidthDefault         * = -1001;
  333.  
  334.  
  335. (****************************************************************************)
  336. (** Area.mui 6.131 (26.10.93)                                              **)
  337. (****************************************************************************)
  338.  
  339.   cArea * = "Area.mui";
  340.  
  341. (* Methods *)
  342.  
  343.  
  344. (* Attributes *)
  345.  
  346.   CONST aApplicationObject          * = 8042D3EEH; (* ..g Object *          *)
  347.   CONST aBackground                 * = 8042545BH; (* is. LONG              *)
  348.   CONST aBottomEdge                 * = 8042E552H; (* ..g LONG              *)
  349.   CONST aControlChar                * = 8042120BH; (* i.. char              *)
  350.   CONST aDisabled                   * = 80423661H; (* isg BOOL              *)
  351.   CONST aExportID                   * = 8042D76EH; (* isg LONG              *)
  352.   CONST aFixHeight                  * = 8042A92BH; (* i.. LONG              *)
  353.   CONST aFixHeightTxt               * = 804276F2H; (* i.. LONG              *)
  354.   CONST aFixWidth                   * = 8042A3F1H; (* i.. LONG              *)
  355.   CONST aFixWidthTxt                * = 8042D044H; (* i.. STRPTR            *)
  356.   CONST aFont                       * = 8042BE50H; (* i.g struct TextFont * *)
  357.   CONST aFrame                      * = 8042AC64H; (* i.. LONG              *)
  358.   CONST aFramePhantomHoriz          * = 8042ED76H; (* i.. BOOL              *)
  359.   CONST aFrameTitle                 * = 8042D1C7H; (* i.. STRPTR            *)
  360.   CONST aHeight                     * = 80423237H; (* ..g LONG              *)
  361.   CONST aHorizWeight                * = 80426DB9H; (* i.. LONG              *)
  362.   CONST aInnerBottom                * = 8042F2C0H; (* i.. LONG              *)
  363.   CONST aInnerLeft                  * = 804228F8H; (* i.. LONG              *)
  364.   CONST aInnerRight                 * = 804297FFH; (* i.. LONG              *)
  365.   CONST aInnerTop                   * = 80421EB6H; (* i.. LONG              *)
  366.   CONST aInputMode                  * = 8042FB04H; (* i.. LONG              *)
  367.   CONST aLeftEdge                   * = 8042BEC6H; (* ..g LONG              *)
  368.   CONST aPressed                    * = 80423535H; (* ..g BOOL              *)
  369.   CONST aRightEdge                  * = 8042BA82H; (* ..g LONG              *)
  370.   CONST aSelected                   * = 8042654BH; (* isg BOOL              *)
  371.   CONST aShowSelState               * = 8042CAACH; (* i.. BOOL              *)
  372.   CONST aTimer                      * = 80426435H; (* ..g LONG              *)
  373.   CONST aTopEdge                    * = 8042509BH; (* ..g LONG              *)
  374.   CONST aVertWeight                 * = 804298D0H; (* i.. LONG              *)
  375.   CONST aWeight                     * = 80421D1FH; (* i.. LONG              *)
  376.   CONST aWidth                      * = 8042B59CH; (* ..g LONG              *)
  377.   CONST aWindow                     * = 80421591H; (* ..g struct Window *   *)
  378.   CONST aWindowObject               * = 8042669EH; (* ..g Object *          *)
  379.  
  380.   CONST vFontInherit                * = 0;
  381.   CONST vFontNormal                 * = -1;
  382.   CONST vFontList                   * = -2;
  383.   CONST vFontTiny                   * = -3;
  384.   CONST vFontFixed                  * = -4;
  385.   CONST vFontTitle                  * = -5;
  386.   CONST vFrameNone                  * = 0;
  387.   CONST vFrameButton                * = 1;
  388.   CONST vFrameImageButton           * = 2;
  389.   CONST vFrameText                  * = 3;
  390.   CONST vFrameString                * = 4;
  391.   CONST vFrameReadList              * = 5;
  392.   CONST vFrameInputList             * = 6;
  393.   CONST vFrameProp                  * = 7;
  394.   CONST vFrameGauge                 * = 8;
  395.   CONST vFrameGroup                 * = 9;
  396.   CONST vFramePopUp                 * = 10;
  397.   CONST vFrameVirtual               * = 11;
  398.   CONST vFrameCount                 * = 12;
  399.   CONST vInputModeNone              * = 0;
  400.   CONST vInputModeRelVerify         * = 1;
  401.   CONST vInputModeImmediate         * = 2;
  402.   CONST vInputModeToggle            * = 3;
  403.  
  404.  
  405. (****************************************************************************)
  406. (** Rectangle.mui 6.47 (26.10.93)                                          **)
  407. (****************************************************************************)
  408.  
  409.   cRectangle * = "Rectangle.mui";
  410.  
  411.  
  412. (****************************************************************************)
  413. (** Image.mui 6.61 (26.10.93)                                              **)
  414. (****************************************************************************)
  415.  
  416.   cImage * = "Image.mui";
  417.  
  418. (* Attributes *)
  419.  
  420.   CONST aImageFontMatch             * = 8042815DH; (* i.. BOOL              *)
  421.   CONST aImageFontMatchHeight       * = 80429F26H; (* i.. BOOL              *)
  422.   CONST aImageFontMatchWidth        * = 804239BFH; (* i.. BOOL              *)
  423.   CONST aImageFreeHoriz             * = 8042DA84H; (* i.. BOOL              *)
  424.   CONST aImageFreeVert              * = 8042EA28H; (* i.. BOOL              *)
  425.   CONST aImageOldImage              * = 80424F3DH; (* i.. struct Image *    *)
  426.   CONST aImageSpec                  * = 804233D5H; (* i.. char *            *)
  427.   CONST aImageState                 * = 8042A3ADH; (* is. LONG              *)
  428.  
  429.  
  430.  
  431. (****************************************************************************)
  432. (** Text.mui 6.60 (26.10.93)                                               **)
  433. (****************************************************************************)
  434.  
  435.   cText * = "Text.mui";
  436.  
  437. (* Attributes *)
  438.  
  439.   CONST aTextContents               * = 8042F8DCH; (* isg STRPTR            *)
  440.   CONST aTextHiChar                 * = 804218FFH; (* i.. char              *)
  441.   CONST aTextPreParse               * = 8042566DH; (* isg STRPTR            *)
  442.   CONST aTextSetMax                 * = 80424D0AH; (* i.. BOOL              *)
  443.   CONST aTextSetMin                 * = 80424E10H; (* i.. BOOL              *)
  444.  
  445.  
  446.  
  447. (****************************************************************************)
  448. (** String.mui 6.62 (26.10.93)                                             **)
  449. (****************************************************************************)
  450.  
  451.   cString * = "String.mui";
  452.  
  453. (* Attributes *)
  454.  
  455.   CONST aStringAccept               * = 8042E3E1H; (* isg STRPTR            *)
  456.   CONST aStringAcknowledge          * = 8042026CH; (* ..g STRPTR            *)
  457.   CONST aStringAttachedList         * = 80420FD2H; (* i.. Object *          *)
  458.   CONST aStringBufferPos            * = 80428B6CH; (* .sg LONG              *)
  459.   CONST aStringContents             * = 80428FFDH; (* isg STRPTR            *)
  460.   CONST aStringDisplayPos           * = 8042CCBFH; (* .sg LONG              *)
  461.   CONST aStringFormat               * = 80427484H; (* i.g LONG              *)
  462.   CONST aStringInteger              * = 80426E8AH; (* isg ULONG             *)
  463.   CONST aStringMaxLen               * = 80424984H; (* i.. LONG              *)
  464.   CONST aStringReject               * = 8042179CH; (* isg STRPTR            *)
  465.   CONST aStringSecret               * = 80428769H; (* i.g BOOL              *)
  466.  
  467.   CONST vStringFormatLeft           * = 0;
  468.   CONST vStringFormatCenter         * = 1;
  469.   CONST vStringFormatRight          * = 2;
  470.  
  471.  
  472. (****************************************************************************)
  473. (** Prop.mui 6.73 (26.10.93)                                               **)
  474. (****************************************************************************)
  475.  
  476.   cProp * = "Prop.mui";
  477.  
  478. (* Attributes *)
  479.  
  480.   CONST aPropEntries                * = 8042FBDBH; (* isg LONG              *)
  481.   CONST aPropFirst                  * = 8042D4B2H; (* isg LONG              *)
  482.   CONST aPropHoriz                  * = 8042F4F3H; (* i.g BOOL              *)
  483.   CONST aPropVisible                * = 8042FEA6H; (* isg LONG              *)
  484.  
  485.  
  486.  
  487. (****************************************************************************)
  488. (** Gauge.mui 6.56 (26.10.93)                                              **)
  489. (****************************************************************************)
  490.  
  491.   cGauge * = "Gauge.mui";
  492.  
  493. (* Attributes *)
  494.  
  495.   CONST aGaugeCurrent               * = 8042F0DDH; (* isg LONG              *)
  496.   CONST aGaugeDivide                * = 8042D8DFH; (* isg BOOL              *)
  497.   CONST aGaugeHoriz                 * = 804232DDH; (* i.. BOOL              *)
  498.   CONST aGaugeMax                   * = 8042BCDBH; (* isg LONG              *)
  499.  
  500.  
  501.  
  502. (****************************************************************************)
  503. (** Scale.mui 6.50 (26.10.93)                                              **)
  504. (****************************************************************************)
  505.  
  506.   cScale * = "Scale.mui";
  507.  
  508. (* Attributes *)
  509.  
  510.   CONST aScaleHoriz                 * = 8042919AH; (* isg BOOL              *)
  511.  
  512.  
  513.  
  514. (****************************************************************************)
  515. (** Boopsi.mui 6.52 (26.10.93)                                             **)
  516. (****************************************************************************)
  517.  
  518.   cBoopsi * = "Boopsi.mui";
  519.  
  520. (* Attributes *)
  521.  
  522.   CONST aBoopsiClass                * = 80426999H; (* isg struct IClass *   *)
  523.   CONST aBoopsiClassID              * = 8042BFA3H; (* isg char *            *)
  524.   CONST aBoopsiMaxHeight            * = 8042757FH; (* isg ULONG             *)
  525.   CONST aBoopsiMaxWidth             * = 8042BCB1H; (* isg ULONG             *)
  526.   CONST aBoopsiMinHeight            * = 80422C93H; (* isg ULONG             *)
  527.   CONST aBoopsiMinWidth             * = 80428FB2H; (* isg ULONG             *)
  528.   CONST aBoopsiObject               * = 80420178H; (* ..g Object *          *)
  529.   CONST aBoopsiRemember             * = 8042F4BDH; (* i.. ULONG             *)
  530.   CONST aBoopsiTagDrawInfo          * = 8042BAE7H; (* isg ULONG             *)
  531.   CONST aBoopsiTagScreen            * = 8042BC71H; (* isg ULONG             *)
  532.   CONST aBoopsiTagWindow            * = 8042E11DH; (* isg ULONG             *)
  533.  
  534.  
  535.  
  536. (****************************************************************************)
  537. (** Colorfield.mui 6.13 (26.10.93)                                         **)
  538. (****************************************************************************)
  539.  
  540.   cColorfield * = "Colorfield.mui";
  541.  
  542. (* Attributes *)
  543.  
  544.   CONST aColorfieldBlue             * = 8042D3B0H; (* isg ULONG             *)
  545.   CONST aColorfieldGreen            * = 80424466H; (* isg ULONG             *)
  546.   CONST aColorfieldRed              * = 804279F6H; (* isg ULONG             *)
  547.   CONST aColorfieldRGB              * = 8042677AH; (* isg ULONG *           *)
  548.  
  549.  
  550.  
  551. (****************************************************************************)
  552. (** List.mui 6.111 (27.10.93)                                              **)
  553. (****************************************************************************)
  554.  
  555.   cList * = "List.mui";
  556.  
  557. (* Methods *)
  558.  
  559.   CONST mListClear                 * = 8042AD89H;
  560.   CONST mListExchange              * = 8042468CH;
  561.   CONST mListGetEntry              * = 804280ECH;
  562.   CONST mListInsert                * = 80426C87H;
  563.   CONST mListJump                  * = 8042BAABH;
  564.   CONST mListNextSelected          * = 80425F17H;
  565.   CONST mListRedraw                * = 80427993H;
  566.   CONST mListRemove                * = 8042647EH;
  567.   CONST mListSelect                * = 804252D8H;
  568.   CONST mListSort                  * = 80422275H;
  569.  
  570. (* Attributes *)
  571.  
  572.   CONST aListActive                 * = 8042391CH; (* isg LONG              *)
  573.   CONST aListAdjustHeight           * = 8042850DH; (* i.. BOOL              *)
  574.   CONST aListAdjustWidth            * = 8042354AH; (* i.. BOOL              *)
  575.   CONST aListCompareHook            * = 80425C14H; (* i.. struct Hook *     *)
  576.   CONST aListConstructHook          * = 8042894FH; (* i.. struct Hook *     *)
  577.   CONST aListDestructHook           * = 804297CEH; (* i.. struct Hook *     *)
  578.   CONST aListDisplayHook            * = 8042B4D5H; (* i.. struct Hook *     *)
  579.   CONST aListEntries                * = 80421654H; (* ..g LONG              *)
  580.   CONST aListFirst                  * = 804238D4H; (* ..g LONG              *)
  581.   CONST aListFormat                 * = 80423C0AH; (* isg STRPTR            *)
  582.   CONST aListMultiTestHook          * = 8042C2C6H; (* i.. struct Hook *     *)
  583.   CONST aListQuiet                  * = 8042D8C7H; (* .s. BOOL              *)
  584.   CONST aListVisible                * = 8042191FH; (* ..g LONG              *)
  585.  
  586.   CONST vListActiveOff              * = -1;
  587.   CONST vListActiveTop              * = -2;
  588.   CONST vListActiveBottom           * = -3;
  589.   CONST vListActiveUp               * = -4;
  590.   CONST vListActiveDown             * = -5;
  591.   CONST vListActivePageUp           * = -6;
  592.   CONST vListActivePageDown         * = -7;
  593.   CONST vListConstructHookString    * = -1;
  594.   CONST vListDestructHookString     * = -1;
  595.  
  596.  
  597. (****************************************************************************)
  598. (** Floattext.mui 6.48 (26.10.93)                                          **)
  599. (****************************************************************************)
  600.  
  601.   cFloattext * = "Floattext.mui";
  602.  
  603. (* Attributes *)
  604.  
  605.   CONST aFloattextJustify           * = 8042DC03H; (* isg BOOL              *)
  606.   CONST aFloattextSkipChars         * = 80425C7DH; (* is. STRPTR            *)
  607.   CONST aFloattextTabSize           * = 80427D17H; (* is. LONG              *)
  608.   CONST aFloattextText              * = 8042D16AH; (* isg STRPTR            *)
  609.  
  610.  
  611.  
  612. (****************************************************************************)
  613. (** Volumelist.mui 6.50 (26.10.93)                                         **)
  614. (****************************************************************************)
  615.  
  616.   cVolumelist * = "Volumelist.mui";
  617.  
  618.  
  619. (****************************************************************************)
  620. (** Scrmodelist.mui 6.15 (26.10.93)                                        **)
  621. (****************************************************************************)
  622.  
  623.   cScrmodelist * = "Scrmodelist.mui";
  624.  
  625. (* Attributes *)
  626.  
  627.  
  628.  
  629.  
  630. (****************************************************************************)
  631. (** Dirlist.mui 6.50 (27.10.93)                                            **)
  632. (****************************************************************************)
  633.  
  634.   cDirlist * = "Dirlist.mui";
  635.  
  636. (* Methods *)
  637.  
  638.   CONST mDirlistReRead             * = 80422D71H;
  639.  
  640. (* Attributes *)
  641.  
  642.   CONST aDirlistAcceptPattern       * = 8042760AH; (* is. STRPTR            *)
  643.   CONST aDirlistDirectory           * = 8042EA41H; (* is. STRPTR            *)
  644.   CONST aDirlistDrawersOnly         * = 8042B379H; (* is. BOOL              *)
  645.   CONST aDirlistFilesOnly           * = 8042896AH; (* is. BOOL              *)
  646.   CONST aDirlistFilterDrawers       * = 80424AD2H; (* is. BOOL              *)
  647.   CONST aDirlistFilterHook          * = 8042AE19H; (* is. struct Hook *     *)
  648.   CONST aDirlistMultiSelDirs        * = 80428653H; (* is. BOOL              *)
  649.   CONST aDirlistNumBytes            * = 80429E26H; (* ..g LONG              *)
  650.   CONST aDirlistNumDrawers          * = 80429CB8H; (* ..g LONG              *)
  651.   CONST aDirlistNumFiles            * = 8042A6F0H; (* ..g LONG              *)
  652.   CONST aDirlistPath                * = 80426176H; (* ..g STRPTR            *)
  653.   CONST aDirlistRejectIcons         * = 80424808H; (* is. BOOL              *)
  654.   CONST aDirlistRejectPattern       * = 804259C7H; (* is. STRPTR            *)
  655.   CONST aDirlistSortDirs            * = 8042BBB9H; (* is. LONG              *)
  656.   CONST aDirlistSortHighLow         * = 80421896H; (* is. BOOL              *)
  657.   CONST aDirlistSortType            * = 804228BCH; (* is. LONG              *)
  658.   CONST aDirlistStatus              * = 804240DEH; (* ..g LONG              *)
  659.  
  660.   CONST vDirlistSortDirsFirst       * = 0;
  661.   CONST vDirlistSortDirsLast        * = 1;
  662.   CONST vDirlistSortDirsMix         * = 2;
  663.   CONST vDirlistSortTypeName        * = 0;
  664.   CONST vDirlistSortTypeDate        * = 1;
  665.   CONST vDirlistSortTypeSize        * = 2;
  666.   CONST vDirlistStatusInvalid       * = 0;
  667.   CONST vDirlistStatusReading       * = 1;
  668.   CONST vDirlistStatusValid         * = 2;
  669.  
  670.  
  671. (****************************************************************************)
  672. (** Group.mui 6.168 (26.10.93)                                             **)
  673. (****************************************************************************)
  674.  
  675.   cGroup * = "Group.mui";
  676.  
  677. (* Methods *)
  678.  
  679.  
  680. (* Attributes *)
  681.  
  682.   CONST aGroupActivePage            * = 80424199H; (* isg LONG              *)
  683.   CONST aGroupChild                 * = 804226E6H; (* i.. Object *          *)
  684.   CONST aGroupColumns               * = 8042F416H; (* is. LONG              *)
  685.   CONST aGroupHoriz                 * = 8042536BH; (* i.. BOOL              *)
  686.   CONST aGroupHorizSpacing          * = 8042C651H; (* is. LONG              *)
  687.   CONST aGroupPageMode              * = 80421A5FH; (* is. BOOL              *)
  688.   CONST aGroupRows                  * = 8042B68FH; (* is. LONG              *)
  689.   CONST aGroupSameHeight            * = 8042037EH; (* i.. BOOL              *)
  690.   CONST aGroupSameSize              * = 80420860H; (* i.. BOOL              *)
  691.   CONST aGroupSameWidth             * = 8042B3ECH; (* i.. BOOL              *)
  692.   CONST aGroupSpacing               * = 8042866DH; (* is. LONG              *)
  693.   CONST aGroupVertSpacing           * = 8042E1BFH; (* is. LONG              *)
  694.  
  695.  
  696.  
  697. (****************************************************************************)
  698. (** Virtgroup.mui 6.42 (26.10.93)                                          **)
  699. (****************************************************************************)
  700.  
  701.   cVirtgroup * = "Virtgroup.mui";
  702.  
  703. (* Methods *)
  704.  
  705.  
  706. (* Attributes *)
  707.  
  708.   CONST aVirtgroupHeight            * = 80423038H; (* ..g LONG              *)
  709.   CONST aVirtgroupLeft              * = 80429371H; (* isg LONG              *)
  710.   CONST aVirtgroupTop               * = 80425200H; (* isg LONG              *)
  711.   CONST aVirtgroupWidth             * = 80427C49H; (* ..g LONG              *)
  712.  
  713.  
  714.  
  715. (****************************************************************************)
  716. (** Scrollgroup.mui 6.48 (26.10.93)                                        **)
  717. (****************************************************************************)
  718.  
  719.   cScrollgroup * = "Scrollgroup.mui";
  720.  
  721. (* Attributes *)
  722.  
  723.   CONST aScrollgroupContents        * = 80421261H; (* i.. Object *          *)
  724.  
  725.  
  726.  
  727. (****************************************************************************)
  728. (** Scrollbar.mui 6.52 (26.10.93)                                          **)
  729. (****************************************************************************)
  730.  
  731.   cScrollbar * = "Scrollbar.mui";
  732.  
  733.  
  734. (****************************************************************************)
  735. (** Listview.mui 6.55 (26.10.93)                                           **)
  736. (****************************************************************************)
  737.  
  738.   cListview * = "Listview.mui";
  739.  
  740. (* Attributes *)
  741.  
  742.   CONST aListviewDoubleClick        * = 80424635H; (* i.g BOOL              *)
  743.   CONST aListviewInput              * = 8042682DH; (* i.. BOOL              *)
  744.   CONST aListviewList               * = 8042BCCEH; (* i.. Object *          *)
  745.   CONST aListviewMultiSelect        * = 80427E08H; (* i.. BOOL              *)
  746.   CONST aListviewSelectChange       * = 8042178FH; (* ..g BOOL              *)
  747.  
  748.  
  749.  
  750. (****************************************************************************)
  751. (** Radio.mui 6.45 (26.10.93)                                              **)
  752. (****************************************************************************)
  753.  
  754.   cRadio * = "Radio.mui";
  755.  
  756. (* Attributes *)
  757.  
  758.   CONST aRadioActive                * = 80429B41H; (* isg LONG              *)
  759.   CONST aRadioEntries               * = 8042B6A1H; (* i.. STRPTR *          *)
  760.  
  761.  
  762.  
  763. (****************************************************************************)
  764. (** Cycle.mui 6.68 (27.10.93)                                              **)
  765. (****************************************************************************)
  766.  
  767.   cCycle * = "Cycle.mui";
  768.  
  769. (* Attributes *)
  770.  
  771.   CONST aCycleActive                * = 80421788H; (* isg LONG              *)
  772.   CONST aCycleEntries               * = 80420629H; (* i.. STRPTR *          *)
  773.  
  774.   CONST vCycleActiveNext            * = -1;
  775.   CONST vCycleActivePrev            * = -2;
  776.  
  777.  
  778. (****************************************************************************)
  779. (** Slider.mui 6.50 (26.10.93)                                             **)
  780. (****************************************************************************)
  781.  
  782.   cSlider * = "Slider.mui";
  783.  
  784. (* Attributes *)
  785.  
  786.   CONST aSliderLevel                * = 8042AE3AH; (* isg LONG              *)
  787.   CONST aSliderMax                  * = 8042D78AH; (* i.. LONG              *)
  788.   CONST aSliderMin                  * = 8042E404H; (* i.. LONG              *)
  789.   CONST aSliderQuiet                * = 80420B26H; (* i.. BOOL              *)
  790.  
  791.  
  792.  
  793. (****************************************************************************)
  794. (** Coloradjust.mui 6.30 (26.10.93)                                        **)
  795. (****************************************************************************)
  796.  
  797.   cColoradjust * = "Coloradjust.mui";
  798.  
  799. (* Attributes *)
  800.  
  801.   CONST aColoradjustBlue            * = 8042B8A3H; (* isg ULONG             *)
  802.   CONST aColoradjustGreen           * = 804285ABH; (* isg ULONG             *)
  803.   CONST aColoradjustModeID          * = 8042EC59H; (* isg ULONG             *)
  804.   CONST aColoradjustRed             * = 80420EAAH; (* isg ULONG             *)
  805.   CONST aColoradjustRGB             * = 8042F899H; (* isg ULONG *           *)
  806.  
  807.  
  808.  
  809. (****************************************************************************)
  810. (** Palette.mui 6.21 (26.10.93)                                            **)
  811. (****************************************************************************)
  812.  
  813.   cPalette * = "Palette.mui";
  814.  
  815. (* Attributes *)
  816.  
  817.   CONST aPaletteEntries             * = 8042A3D8H; (* i.g struct MUI_Palette_Entry * *)
  818.   CONST aPaletteGroupable           * = 80423E67H; (* isg BOOL              *)
  819.   CONST aPaletteNames               * = 8042C3A2H; (* isg char **           *)
  820.  
  821.  
  822. (***************************************************************************
  823. ** Method Parameter Structures
  824. ***************************************************************************)
  825.  
  826. TYPE
  827.   pNotify * = STRUCT( msg * : Intuition.Msg );
  828.                 trigAttr * : LONGINT;
  829.                 trigVal  * : LONGINT;
  830.                 destObj  * : Object;
  831.               END;
  832.  
  833.   pCallHook * = STRUCT( msg * : Intuition.Msg );
  834.                   hook * : Utility.HookPtr;
  835.                   (* following hookparams *)
  836.                 END;
  837.  
  838.   pSet      * = STRUCT( msg * : Intuition.Msg );
  839.                   attr * : LONGINT;
  840.                   val  * : LONGINT;
  841.                 END;
  842.  
  843.   pSetAsString * = STRUCT( msg * : Intuition.Msg );
  844.                      attr   * : LONGINT;
  845.                      format * : Exec.STRPTR;
  846.                      val    * : LONGINT;
  847.                    END;
  848.  
  849.  
  850.   pApplicationInput * = STRUCT( msg * : Intuition.Msg );
  851.                           signal * : POINTER TO LONGSET;
  852.                         END;
  853.  
  854.   pApplicationReturnID * = STRUCT( msg * : Intuition.Msg );
  855.                              retid * : LONGINT;
  856.                            END;
  857.  
  858.   pApplicationSave * = STRUCT( msg * : Intuition.Msg );
  859.                          name * : Exec.STRPTR;
  860.                        END;
  861.  
  862.   pApplicationLoad * = STRUCT( msg * : Intuition.Msg );
  863.                          name * : Exec.STRPTR;
  864.                        END;
  865.  
  866.   pApplicationSetMenuCheck * = STRUCT( msg * : Intuition.Msg );
  867.                       menuID * : LONGINT;
  868.                       set    * : LONGINT;
  869.                     END;
  870.  
  871.   pApplicationGetMenuCheck * = STRUCT( msg * : Intuition.Msg );
  872.                       menuID * : LONGINT;
  873.                     END;
  874.  
  875.   pApplicationSetMenuState * = STRUCT( msg * : Intuition.Msg );
  876.                       menuID * : LONGINT;
  877.                       set    * : LONGINT;
  878.                     END;
  879.  
  880.   pApplicationGetMenuState * = STRUCT( msg * : Intuition.Msg );
  881.                       menuID * : LONGINT;
  882.                     END;
  883.  
  884.   pApplicationShowHelp * = STRUCT( msg * : Intuition.Msg );
  885.                              window * : Object;
  886.                              name   * : Exec.STRPTR;
  887.                              node   * : Exec.STRPTR;
  888.                              line   * : LONGINT;
  889.                            END;
  890.  
  891.   pApplicationPushMethod * = STRUCT( msg * : Intuition.Msg );
  892.                                dest * : Object;
  893.                                (* following Method *)
  894.                              END;
  895.  
  896.   pWindowSetCycleChain * = STRUCT( msg * : Intuition.Msg );
  897.                              (* following objects *)
  898.                            END;
  899.  
  900.   pWindowSetMenuCheck * = STRUCT( msg * : Intuition.Msg );
  901.                             menuID * : LONGINT;
  902.                             set    * : LONGINT;
  903.                           END;
  904.  
  905.   pWindowGetMenuCheck * = STRUCT( msg * : Intuition.Msg );
  906.                             menuID * : LONGINT;
  907.                           END;
  908.  
  909.   pWindowSetMenuState * = STRUCT( msg * : Intuition.Msg );
  910.                             menuID * : LONGINT;
  911.                             set    * : LONGINT;
  912.                           END;
  913.  
  914.   pWindowGetMenuState * = STRUCT( msg * : Intuition.Msg );
  915.                             menuID * : LONGINT;
  916.                           END;
  917.  
  918.  
  919.   pListInsert * = STRUCT( msg * : Intuition.Msg );
  920.                     entries * : Exec.APTR;
  921.                     count   * : LONGINT;
  922.                     pos     * : LONGINT;
  923.                   END;
  924.  
  925.   pListRemove * = STRUCT( msg * : Intuition.Msg );
  926.                     pos * : LONGINT;
  927.                   END;
  928.  
  929.   pListGetEntry * = STRUCT( msg * : Intuition.Msg );
  930.                       pos * : LONGINT;
  931.                       entry * : Exec.APTR
  932.                     END;
  933.  
  934.   pListSelect * = STRUCT( msg * : Intuition.Msg );
  935.                     pos     * : LONGINT;
  936.                     selType * : LONGINT;
  937.                     state   * : POINTER TO LONGINT;
  938.                   END;
  939.  
  940.   pListRedraw * = STRUCT( msg * : Intuition.Msg );
  941.                     pos * : LONGINT;
  942.                   END;
  943.   pListJump * = STRUCT( msg * : Intuition.Msg );
  944.                     pos * : LONGINT;
  945.                   END;
  946.  
  947.   pListExchange * = STRUCT( msg * : Intuition.Msg );
  948.                       pos1 * : LONGINT;
  949.                       pos2 * : LONGINT;
  950.                     END;
  951.  
  952.  
  953.  
  954. (***************************************************************************
  955. ** Functions in muimaster.library
  956. ***************************************************************************)
  957.  
  958. VAR
  959.   base * : Exec.LibraryPtr;
  960.  
  961. PROCEDURE NewObjectA           * {base,-30}( class{8}      : ARRAY OF CHAR;
  962.                                              tags{9}       : ARRAY OF Utility.TagItem): Object;
  963.  
  964. PROCEDURE NewObject            * {base,-30}( class{8}      : ARRAY OF CHAR;
  965.                                              tags{9}..     : Utility.Tag): Object;
  966.  
  967. PROCEDURE DisposeObject        * {base,-36}( obj{8}        : Object);
  968.  
  969.  
  970. PROCEDURE RequestA             * {base,-42}( app{0}        : Object;
  971.                                              win{1}        : Object;
  972.                                              flags{2}      : LONGINT;
  973.                                              title{8}      : ARRAY OF CHAR;
  974.                                              gadgets{9}    : ARRAY OF CHAR;
  975.                                              format{10}    : ARRAY OF CHAR;
  976.                                              params{11}    : ARRAY OF Utility.TagItem) : LONGINT;
  977.  
  978. PROCEDURE Request              * {base,-42}( app{0}        : Object;
  979.                                              win{1}        : Object;
  980.                                              flags{2}      : LONGINT;
  981.                                              title{8}      : ARRAY OF CHAR;
  982.                                              gadgets{9}    : ARRAY OF CHAR;
  983.                                              format{10}    : ARRAY OF CHAR;
  984.                                              params{11}..  : Utility.Tag) : LONGINT;
  985.  
  986. PROCEDURE AllocAslRequest      * {base,-48}( typ{0}  : LONGINT;
  987.                                              tags{8} : ARRAY OF Utility.TagItem) : ASL.ASLRequesterPtr;
  988.  
  989. PROCEDURE AllocAslRequestTags  * {base,-48}( typ{0}    : LONGINT;
  990.                                              tags{8}.. : Utility.Tag) : ASL.ASLRequesterPtr;
  991.  
  992. PROCEDURE AslRequest           * {base,-54}( req{8}  : ASL.ASLRequesterPtr;
  993.                                              tags{9} : ARRAY OF Utility.TagItem) : BOOLEAN;
  994.  
  995. PROCEDURE AslRequestTags       * {base,-54}( req{8}    : ASL.ASLRequesterPtr;
  996.                                              tags{9}.. : Utility.Tag) : BOOLEAN;
  997.  
  998. PROCEDURE FreeAslRequest       * {base,-60}( req{8}  : ASL.ASLRequesterPtr );
  999.  
  1000. PROCEDURE Error                * {base,-66}() : LONGINT;
  1001.  
  1002.  
  1003.  
  1004. PROCEDURE DoMethodA * ( obj{10}, msg{9}: Intuition.Msg ): LONGINT;
  1005.  
  1006. BEGIN  (* $EntryExitCode- *)
  1007.   SYSTEM.INLINE(  0206AH, 0FFFCH,    (*  movea.l -4(a2),a0    *)
  1008.                   02F28H, 00008H,    (*  move.l  8(a0),-(a7)  *)
  1009.                   04E75H);           (*  rts                  *)
  1010. END DoMethodA;
  1011.  
  1012. PROCEDURE DoMethod * {"Mui.DoMethodA"} ( obj{10}: Object; msg{9}..: Exec.APTR );
  1013. PROCEDURE DOMethod * {"Mui.DoMethodA"} ( obj{10}: Object; msg{9}..: Exec.APTR ) : LONGINT;
  1014.  
  1015. BEGIN
  1016.   base := Exec.OpenLibrary( LibName, Version);
  1017.   IF base=NIL THEN
  1018.     IF Intuition.DisplayAlert(0,"\x00\x64\x14missing muimaster.library\o\o",50) THEN END;
  1019.     HALT(0)
  1020.   END;
  1021. CLOSE
  1022.   IF base#NIL THEN Exec.CloseLibrary(base) END;
  1023. END Mui.
  1024.